import csv
with open('score.csv', 'r', encoding='utf-8') as f:
    # reader1=csv.reader(f)
    # print(list(reader1))
    reader2=csv.DictReader(f)
    for row in reader2:  # row是一行数据，类型为字典
        print(row, "-->", row.get("名字"), '-->', row["成绩"])

